package com.usian.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.pojos.WmNews;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * ClassName: AdChannelService
 * Author:   WGG
 * Date:    2022-11-2022/11/9-16:42
 * Version: 1.0
 * Description:
 */
public interface AdWmNewsService extends IService<WmNews> {

    /**
     * 分页全查
     * @param wmNewsDto
     * @return
     */
    public ResponseResult listWmNews( WmNewsDto wmNewsDto);

    /**
     * 根据id查看
     * @param id
     * @return
     */
    public ResponseResult one(Integer id);
    /**
     * 审核
     * @param id
     * @return
     */
    public void oneUpdate(Integer id) throws Exception;
}
